home *** CD-ROM | disk | FTP | other *** search
/ PC Open 97 / PC Open 97 CD2.bin / Demo / FileMaker / Data1.cab / Toc.xsl2 < prev    next >
Encoding:
Extensible Markup Language  |  2003-11-11  |  6.9 KB  |  139 lines

  1. ∩╗┐<?xml version="1.0"?>
  2. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  3.     <xsl:import href="Strings.xsl"/>
  4.     <xsl:output method="html" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" encoding="UTF-8" indent="yes"/>        
  5.     
  6.     <!-- Template for generating the main report. The main entry point for the transformation. -->
  7.     <xsl:template name="LeftFrame" match="/">
  8.         <html>
  9.             <head>
  10.                 <title>
  11.                     <xsl:value-of select="/FMPReport/File/@linkTOCFrame"/>
  12.                 </title>            
  13.             </head>
  14.             <body>
  15.                 <p>
  16.                     <span class="regularcharttext">
  17.                         <br/><br/><br/>
  18.                         <xsl:call-template name="ExternalLink-NoAnchor-WithTarget">
  19.                             <xsl:with-param name="inFileLink" select="/FMPReport/@link"/>
  20.                             <xsl:with-param name="inTarget" select="'_top'"/>
  21.                             <xsl:with-param name="inDisplayText" select="$valBackToOverview"/>
  22.                         </xsl:call-template>                        
  23.                     </span>
  24.                 </p>
  25.                 <span class="regularcharttext">
  26.                     <hr width="100%"/>
  27.                     <xsl:call-template name="ExternalLink-NoAnchor-WithTarget">
  28.                         <xsl:with-param name="inFileLink" select="concat(/FMPReport/File/@linkReportFrame,'#', $valFileOptionOverview,$kAnchorSection)"/>
  29.                         <xsl:with-param name="inTarget" select="'main'"/>
  30.                         <xsl:with-param name="inDisplayText" select="$valFileOptionOverview"/>
  31.                     </xsl:call-template>    
  32.                     <xsl:if test="/FMPReport/File/BaseTableCatalog">
  33.                         <br/>
  34.                         <xsl:call-template name="ExternalLink-NoAnchor-WithTarget">
  35.                             <xsl:with-param name="inFileLink" select="concat(/FMPReport/File/@linkReportFrame,'#', $valTables,$kAnchorSection)"/>
  36.                             <xsl:with-param name="inTarget" select="'main'"/>
  37.                             <xsl:with-param name="inDisplayText" select="$valTables"/>
  38.                         </xsl:call-template>                                                        
  39.                     </xsl:if>    
  40.                     <xsl:if test="/FMPReport/File/BaseTableCatalog/BaseTable/FieldCatalog">
  41.                         <br/>
  42.                         <xsl:call-template name="ExternalLink-NoAnchor-WithTarget">
  43.                             <xsl:with-param name="inFileLink" select="concat(/FMPReport/File/@linkReportFrame,'#', $valFields,$kAnchorSection)"/>
  44.                             <xsl:with-param name="inTarget" select="'main'"/>
  45.                             <xsl:with-param name="inDisplayText" select="$valFields"/>
  46.                         </xsl:call-template>                                                        
  47.                     </xsl:if>                
  48.                     <xsl:if test="/FMPReport/File/RelationshipGraph">
  49.                         <br/>    
  50.                         <xsl:value-of select="$valRelationships"/>                                                
  51.             
  52.                         <xsl:if test="/FMPReport/File/RelationshipGraph/TableList">
  53.                             <br/>
  54.                                
  55.                             <xsl:call-template name="ExternalLink-NoAnchor-WithTarget">
  56.                                 <xsl:with-param name="inFileLink" select="concat(/FMPReport/File/@linkReportFrame,'#', $valRelationships,$kAnchorSection)"/>
  57.                                 <xsl:with-param name="inTarget" select="'main'"/>
  58.                                 <xsl:with-param name="inDisplayText" select="$valTableOccurrences"/>
  59.                             </xsl:call-template>                            
  60.                         </xsl:if>
  61.                         <xsl:if test="/FMPReport/File/RelationshipGraph/RelationshipList">
  62.                             <br/>
  63.                                
  64.                             <xsl:call-template name="ExternalLink-NoAnchor-WithTarget">
  65.                                 <xsl:with-param name="inFileLink" select="concat(/FMPReport/File/@linkReportFrame,'#', $valDetails,$kAnchorSection)"/>
  66.                                 <xsl:with-param name="inTarget" select="'main'"/>
  67.                                 <xsl:with-param name="inDisplayText" select="$valDetails"/>
  68.                             </xsl:call-template>                                
  69.                         </xsl:if>
  70.                     </xsl:if>
  71.                     <xsl:if test="/FMPReport/File/LayoutCatalog">
  72.                         <br/>
  73.                         <xsl:call-template name="ExternalLink-NoAnchor-WithTarget">
  74.                             <xsl:with-param name="inFileLink" select="concat(/FMPReport/File/@linkReportFrame,'#', $valLayouts,$kAnchorSection)"/>
  75.                             <xsl:with-param name="inTarget" select="'main'"/>
  76.                             <xsl:with-param name="inDisplayText" select="$valLayouts"/>
  77.                         </xsl:call-template>                        
  78.                     </xsl:if>
  79.                     <xsl:if test="/FMPReport/File/ValueListCatalog">
  80.                         <br/>
  81.                         <xsl:call-template name="ExternalLink-NoAnchor-WithTarget">
  82.                             <xsl:with-param name="inFileLink" select="concat(/FMPReport/File/@linkReportFrame,'#', $valValueLists,$kAnchorSection)"/>
  83.                             <xsl:with-param name="inTarget" select="'main'"/>
  84.                             <xsl:with-param name="inDisplayText" select="$valValueLists"/>
  85.                         </xsl:call-template>                        
  86.                     </xsl:if>
  87.                     <xsl:if test="/FMPReport/File/ScriptCatalog">
  88.                         <br/>
  89.                         <xsl:call-template name="ExternalLink-NoAnchor-WithTarget">
  90.                             <xsl:with-param name="inFileLink" select="concat(/FMPReport/File/@linkReportFrame,'#', $valScripts,$kAnchorSection)"/>
  91.                             <xsl:with-param name="inTarget" select="'main'"/>
  92.                             <xsl:with-param name="inDisplayText" select="$valScripts"/>
  93.                         </xsl:call-template>                        
  94.                     </xsl:if>
  95.                     <xsl:if test="/FMPReport/File/AccountCatalog">
  96.                         <br/>
  97.                         <xsl:call-template name="ExternalLink-NoAnchor-WithTarget">
  98.                             <xsl:with-param name="inFileLink" select="concat(/FMPReport/File/@linkReportFrame,'#', $valAccounts,$kAnchorSection)"/>
  99.                             <xsl:with-param name="inTarget" select="'main'"/>
  100.                             <xsl:with-param name="inDisplayText" select="$valAccounts"/>
  101.                         </xsl:call-template>                            
  102.                     </xsl:if>
  103.                     <xsl:if test="/FMPReport/File/PrivilegesCatalog">
  104.                         <br/>
  105.                         <xsl:call-template name="ExternalLink-NoAnchor-WithTarget">
  106.                             <xsl:with-param name="inFileLink" select="concat(/FMPReport/File/@linkReportFrame,'#', $valPrivilegeSets,$kAnchorSection)"/>
  107.                             <xsl:with-param name="inTarget" select="'main'"/>
  108.                             <xsl:with-param name="inDisplayText" select="$valPrivilegeSets"/>
  109.                         </xsl:call-template>                        
  110.                     </xsl:if>
  111.                     <xsl:if test="/FMPReport/File/ExtendedPrivilegeCatalog">
  112.                         <br/>
  113.                         <xsl:call-template name="ExternalLink-NoAnchor-WithTarget">
  114.                             <xsl:with-param name="inFileLink" select="concat(/FMPReport/File/@linkReportFrame,'#', $valExtendedPrivileges,$kAnchorSection)"/>
  115.                             <xsl:with-param name="inTarget" select="'main'"/>
  116.                             <xsl:with-param name="inDisplayText" select="$valExtendedPrivileges"/>
  117.                         </xsl:call-template>                        
  118.                     </xsl:if>
  119.                     <xsl:if test="/FMPReport/File/CustomFunctionCatalog">
  120.                         <br/>
  121.                         <xsl:call-template name="ExternalLink-NoAnchor-WithTarget">
  122.                             <xsl:with-param name="inFileLink" select="concat(/FMPReport/File/@linkReportFrame,'#', $valCustomFunctions,$kAnchorSection)"/>
  123.                             <xsl:with-param name="inTarget" select="'main'"/>
  124.                             <xsl:with-param name="inDisplayText" select="$valCustomFunctions"/>
  125.                         </xsl:call-template>                        
  126.                     </xsl:if>
  127.                     <xsl:if test="/FMPReport/File/FileReferenceCatalog">
  128.                         <br/>
  129.                         <xsl:call-template name="ExternalLink-NoAnchor-WithTarget">
  130.                             <xsl:with-param name="inFileLink" select="concat(/FMPReport/File/@linkReportFrame,'#', $valFileReferences,$kAnchorSection)"/>
  131.                             <xsl:with-param name="inTarget" select="'main'"/>
  132.                             <xsl:with-param name="inDisplayText" select="$valFileReferences"/>
  133.                         </xsl:call-template>                        
  134.                     </xsl:if>                    
  135.                 </span> 
  136.             </body>
  137.         </html>
  138.     </xsl:template>
  139. </xsl:stylesheet>